<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" id="html">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={$FTindex_CHARSET}" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title>{$navtitle} {$setting.site_name} {$setting.seo_title} - 魔方 - 科技改变生活!</title>
{$setting.seo_headers}
<meta name="keywords" content="{$setting.seo_keywords}" />
<meta name="description" content="{$setting.seo_description}" />
<meta name="generator" content="FengTop {$FTforum_VERSION}" />
<meta name="author" content="FengTop Team and FengTop UI team" />
<meta name="copyright" content="2009-2012 FengTop.net" />
<base href="{$FTmagicube_URL}/" />
<link href="style/{$theme}/FTindex.css" rel="stylesheet" type="text/css" media="all"/>
<script type="text/javascript" src="js/jquery-1.6.4.js"></script>
<script type="text/javascript" src="js/login.js"></script>
<script type="text/javascript">
{if $newpms.0}
	var titlestate = 0, clock, flashingtime = 20;
	var oldtitle = "{$navtitle} {$setting.site_name} {$setting.seo_title} - Powered by FENGTOP!";
{literal}
	function changeTitle(){
		if(titlestate%2 == 0){
			document.title='【新消息】'+oldtitle;
		}else{
			document.title='【　　　】'+oldtitle;
		}
		titlestate++;
		if(titlestate == flashingtime){
			clearInterval(clock);
			document.title = oldtitle;
		}
	}
{/literal}
	clock = setInterval("changeTitle()", 1000);
{/if}
</script>
</head>
<body>
<div id="topnav" class="bg_red">
	<div id="topnav_l">
		<ol class="topnav_ol">
			<li class="l bor_no"><a href="{$FENGTOP_URL}" target="_bank">首页</a></li>
			<li class="l bor_no"><a href="{$FTforum_URL}" target="_bank">论坛</a></li>
			<li class="l bor_no"><a href="{$WIKI_URL}" target="_bank">魔方Wiki</a></li>
		</ol>
	</div>
	<div id="topnav_r">
		<ol class="topnav_ol">
			{if $user.groupid == '1'}
				<li name="login" class="l bor_no"><a href="{$FENGTOP_URL}/magicube/index.php?user-login">{$lang.login}</a></li>
				<li name="login" class="l bor_no">|</li>
				<li name="register" class="l bor_no"><a href="{$FENGTOP_URL}/index.php?channel=user&what=register" >{$lang.register}</a></li>
			{else}
				<li class="l bor_no pad10">{$lang.headerTip}<a href="index.php?user-space-{$user.uid}">{$user.username}</a></li>
				{if $user.password!=''}
				<li class="l bor_no">|</li>
				<li class="l bor_no"><img alt="FTforum" style="vertical-align:middle;" src="style/default/noshine.gif"/><a href="index.php?pms">消息</a></li>
				<li class="l bor_no">|</li>
				<li class="l bor_no"><a  href="index.php?user-profile" target="_bank">{$lang.selfManage}</a></li>
				{if $adminlogin }
				<li class="l bor_no">|</li>
				<li class="l bor_no"><a href="index.php?admin_main" target="_bank">{$lang.sysConfig}</a></li>
				{/if}
				<li class="l bor_no">|</li>
				<li class="l bor_no"><a href="{$FENGTOP_URL}/index.php?user-logout{$referer}" >{$lang.logout}</a></li>
				{else}
				<li class="l bor_no"><a href="index.php?user-login" >{$lang.active}</a></li>
				<li class="l bor_no">|</li>
				<li class="l bor_no"><a href="{$FENGTOP_URL}/index.php?user-logout{$referer}" >{$lang.logout}</a></li>
				{/if}
			{/if}
			<li class="l bor_no"><img alt="FTforumhelp" style="vertical-align:middle;" src="style/default/help.png" /><a href="index.php?doc-innerlink-{$lang.help}" target="_bank">{$lang.help}</a></li>
		</ol>
	</div>
</div>
<div id="logo" >
	<img id="logoimg" src="style/default/logo.jpg" width="182" height="66" alt="FengTop" />
</div>
<div id="nav">
	<ul>
		<li><a href="{$FENGTOP_URL}">首页</a></li>
		<li><a href="{$FTforum_URL}">论坛</a></li>
		<li><a href="{$WIKI_URL}">魔方Wiki</a></li>
	</ul>
	<SCRIPT language=javascript>
	function g(formname)    {
		var url = "http://www.baidu.com/baidu";
		if (formname.s[1].checked) {
			formname.ct.value = "2097152";
		}
		else {
			formname.ct.value = "0";
		}
		formname.action = url;
		return true;
	}
	</SCRIPT>
	<div id="baidusearch" class="r">
	<form name="f1" onsubmit="return g(this)" >
		<table bgcolor="#E80024" style="font-size:9pt;">
			<tr>
				<td>
					<input name=word size="30" maxlength="100">
					<input name=ie type=hidden value=utf-8>
					<input type="submit" value="百度搜索">
					<input name=tn type=hidden value="bds">
					<input name=cl type=hidden value="3">
					<input name=ct type=hidden>
					<input name=si type=hidden value="www.fengtop.net">
					<input name=s type=radio> 互联网
					<input name=s type=radio checked>FENGTOP
				</td>
			</tr>
		</table>
	</form>
	</div>
</div>
